var bracketApp = angular.module('bracketApp', [
    'ngRoute', 'bracketCtrls', 'bracketDrcs'
]);

bracketApp.config(['$routeProvider',
    function($routeProvider) {
        $routeProvider.when('/main', {
            templateUrl: 'views/main.html',
            controller: 'main'
        }).when('/orderApply', {
            templateUrl: 'views/orderApply.html',
            controller: 'orderApply'
        }).when('/orderInfo', {
            templateUrl: 'views/orderInfo.html',
            controller: 'orderInfo'
        }).when('/codeInfo', {
            templateUrl: 'views/codeInfo.html',
            controller: 'codeInfo'
        }).when('/userInfo', {
            templateUrl: 'views/userInfo.html',
            controller: 'userInfo'
        }).when('/creatUser', {
            templateUrl: 'views/creatUser.html',
            controller: 'creatUser'
        }).when('/editUser', {
            templateUrl: 'views/editUser.html',
            controller: 'editUser'
        }).when('/targetInfo', {
            templateUrl: 'views/targetInfo.html',
            controller: 'targetInfo'
        }).when('/creatTarget', {
            templateUrl: 'views/creatTarget.html',
            controller: 'creatTarget'
        }).when('/editTarget', {
            templateUrl: 'views/editTarget.html',
            controller: 'editTarget'
        }).when('/configureTarget', {
            templateUrl: 'views/configureTarget.html',
            controller: 'configureTarget'
        }).when('/editSample', {
            templateUrl: 'views/editSample.html',
            controller: 'editSample'
        }).when('/sampleInfo', {
            templateUrl: 'views/sampleInfo.html',
            controller: 'sampleInfo'
        }).when('/sampleTestInfo', {
            templateUrl: 'views/sampleTestInfo.html',
            controller: 'sampleTestInfo'
        }).when('/sampleProduceInfo', {
            templateUrl: 'views/sampleProduceInfo.html',
            controller: 'sampleProduceInfo'
        }).when('/uploadSample', {   //上传生产样本
            templateUrl: 'views/uploadSample.html',
            controller: 'uploadSample'
        }).when('/uploadSample1', {  //上传测试样本
            templateUrl: 'views/uploadSample1.html',
            controller: 'uploadSample1'
        }).when('/handleInfo', {  //URL
            templateUrl: 'views/handleInfo.html',
            controller: 'handleInfo'
        }).when('/createHandle', {  //URL
            templateUrl: 'views/createHandle.html',
            controller: 'createHandle'
        }).when('/seeHandle', {  //URL
            templateUrl: 'views/seeHandle.html',
            controller: 'seeHandle'
        }).when('/countHandle', {  //URL
            templateUrl: 'views/countHandle.html',
            controller: 'countHandle'
        }).when('/sampleBankInfo', {
            templateUrl: 'views/sampleBankInfo.html',
            controller: 'sampleBankInfo'
        }).when('/creatSampleBank', {
            templateUrl: 'views/creatSampleBank.html',
            controller: 'creatSampleBank'
        }).when('/select2Sample', {
            templateUrl: 'views/select2Sample.html',
            controller: 'select2Sample'
        }).when('/selectrandom2Sample', {
            templateUrl: 'views/selectrandom2Sample.html',
            controller: 'selectrandom2Sample'
        }).when('/relationInfo', {
            templateUrl: 'views/relationInfo.html',
            controller: 'relationInfo'
        }).when('/creatRelation', {
            templateUrl: 'views/creatRelation.html',
            controller: 'creatRelation'
        }).when('/resetUserPassword', {
            templateUrl: 'views/resetUserPassword.html',
            controller: 'resetUserPassword'
        }).when('/taskInfo', {
            templateUrl: 'views/taskInfo.html',
            controller: 'taskInfo'
        }).when('/creatTask', {
            templateUrl: 'views/creatTask.html',
            controller: 'creatTask'
        }).when('/task4TargetInfo', {
            templateUrl: 'views/task4TargetInfo.html',
            controller: 'task4TargetInfo'
        }).when('/creatTask4Target', {
            templateUrl: 'views/creatTask4Target.html',
            controller: 'creatTask4Target'
        }).when('/editUserPassword', {
            templateUrl: 'views/editUserPassword.html',
            controller: 'editUserPassword'
        }).when('/personalInfo', {
            templateUrl: 'views/personalInfo.html',
            controller: 'personalInfo'
        }).when('/task4SampleBankInfo', {
            templateUrl: 'views/task4SampleBankInfo.html',
            controller: 'task4SampleBankInfo'
        }).when('/addTaskSampleBank', {
            templateUrl: 'views/addTaskSampleBank.html',
            controller: 'addTaskSampleBank'
        }).when('/clientInfo', {
            templateUrl: 'views/clientInfo.html',
            controller: 'clientInfo'
        }).when('/uploadFile', {
            templateUrl: 'views/uploadFile.html',
            controller: 'uploadFile'
        }).when('/packageInfo', {
            templateUrl: 'views/packageInfo.html',
            controller: 'packageInfo'
        }).when('/packageUpload', {
            templateUrl: 'views/packageUpload.html',
            controller: 'packageUpload'
        }).when('/taskresultInfo', {
            templateUrl: 'views/taskresultInfo.html',
            controller: 'taskresultInfo'
        }).when('/uploadOperatorCheckList', {
            templateUrl: 'views/uploadOperatorCheckList.html',
            controller: 'uploadOperatorCheckList'
        }).when('/taskresultdetailInfo', {
            templateUrl: 'views/taskresultdetailInfo.html',
            controller: 'taskresultdetailInfo'
        }).when('/ddosToolInfo', {
            templateUrl: 'views/ddosToolInfo.html',
            controller: 'ddosToolInfo'
        }).when('/creatDdosTool', {
            templateUrl: 'views/creatDdosTool.html',
            controller: 'creatDdosTool'
        }).when('/editDdosTool', {
            templateUrl: 'views/editDdosTool.html',
            controller: 'editDdosTool'
        }).when('/ddosTaskInfo', {
            templateUrl: 'views/ddosTaskInfo.html',
            controller: 'ddosTaskInfo'
        }).when('/creatDdosTask', {
            templateUrl: 'views/creatDdosTask.html',
            controller: 'creatDdosTask'
        }).when('/ddosTask4ToolInfo', {
            templateUrl: 'views/ddosTask4ToolInfo.html',
            controller: 'ddosTask4ToolInfo'
        }).when('/addDdosTaskTool', {
            templateUrl: 'views/addDdosTaskTool.html',
            controller: 'addDdosTaskTool'
        }).when('/ddosTool4TaskInfo', {
            templateUrl: 'views/ddosTool4TaskInfo.html',
            controller: 'ddosTool4TaskInfo'
        }).when('/upBoceLog', {
            templateUrl: 'views/upBoceLog.html',
            controller: 'upBoceLog'
        }).when('/creatRole', {  //创建角色
            templateUrl: 'views/creatRole.html',
            controller: 'creatRole'
        }).when('/editRole', {  //修改角色信息
            templateUrl: 'views/editRole.html',
            controller: 'editRole'
        }).when('/roleInfo', {      //角色信息
            templateUrl: 'views/roleInfo.html',
            controller: 'roleInfo'
        }).when('/roleAuthority', { //权限分配
            templateUrl: 'views/roleAuthority.html',
            controller: 'roleAuthority'
        }).when('/companyInfo', {
            templateUrl: 'views/companyInfo.html',
            controller: 'companyInfo'
        }).when('/createCompany', {
            templateUrl: 'views/createCompany.html',
            controller: 'createCompany'
        }).when('/editCompany', {
            templateUrl: 'views/editCompany.html',
            controller: 'editCompany'
        }).when('/company4TargetInfo', {
            templateUrl: 'views/company4TargetInfo.html',
            controller: 'company4TargetInfo'
        }).when('/createTarget4Company', {
            templateUrl: 'views/createTarget4Company.html',
            controller: 'createTarget4Company'
        }).when('/company4SampleInfo', {
            templateUrl: 'views/company4SampleInfo.html',
            controller: 'company4SampleInfo'
        }).when('/createSample4Company', {
            templateUrl: 'views/createSample4Company.html',
            controller: 'createSample4Company'
        }).when('/supervisory4Ddos', {
            templateUrl: 'views/supervisory4Ddos.html',
            controller: 'supervisory4Ddos'
        }).when('/historySupervisory4Ddos', {
            templateUrl: 'views/historySupervisory4Ddos.html',
            controller: 'historySupervisory4Ddos'
        }).otherwise({
            redirectTo: '/main'
        });
    }]);			